package com.bjpowernode.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class MyController {

    @RequestMapping(value="/user/detail")
    public @ResponseBody String userDetail(){
        return "/user/detail";
    }

    @RequestMapping(value="/center")
    public @ResponseBody String center(){
        return "/center";
    }
}
